const http = require('http');

let server = http.createServer(()=>{
    console.log('接受请求');
});

server.listen(8080);